<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}

<link rel="stylesheet" type="text/css" href="static/css/index.css"/>
<div class="mar-10">
	<div class="panel_box row">
		<div class="panel col">
			<a href="{U('user')}&dt1={date('Y-m-d')}">
				<div class="panel_icon" style="background-color:#FF5722;">
					<i class="iconfont2 icon-dongtaifensishu" data-icon="icon-dongtaifensishu"></i>
					<!--<i class="iconfont2 icon-zhanghu" data-icon="icon-zhanghu"></i>
					<i class="iconfont2 icon-lock1" data-icon="icon-lock1"></i>
					<i class="iconfont2 icon-erweima" data-icon="icon-erweima"></i>
					<i class="iconfont2 icon-xinlangweibo" data-icon="icon-xinlangweibo"></i>
					<i class="iconfont2 icon-qq" data-icon="icon-qq"></i>
					<i class="iconfont2 icon-icon" data-icon="icon-icon"></i>
					<i class="iconfont2 icon-edit" data-icon="icon-edit"></i>
					<i class="iconfont2 icon-computer" data-icon="icon-computer"></i>
					<i class="iconfont2 icon-text" data-icon="icon-text"></i>
					<i class="iconfont2 icon-guanbi" data-icon="icon-guanbi"></i>
					<i class="iconfont2 icon-loginout" data-icon="icon-loginout"></i>
					<i class="iconfont2 icon-shuaxin1" data-icon="icon-shuaxin1"></i>
					<i class="iconfont2 icon-shezhi1" data-icon="icon-shezhi1"></i>
					<i class="iconfont2 icon-gonggao" data-icon="icon-gonggao"></i>
					<i class="iconfont2 icon-menu1" data-icon="icon-menu1"></i>
					<i class="iconfont2 icon-wenben" data-icon="icon-wenben"></i>
					<i class="iconfont2 icon-dengji3" data-icon="icon-dengji3"></i>
					<i class="iconfont2 icon-dengji1" data-icon="icon-dengji1"></i>
					<i class="iconfont2 icon-dengji2" data-icon="icon-dengji2"></i>
					<i class="iconfont2 icon-dengji4" data-icon="icon-dengji4"></i>
					<i class="iconfont2 icon-dengji5" data-icon="icon-dengji5"></i>
					<i class="iconfont2 icon-dengji6" data-icon="icon-dengji6"></i>
					<i class="iconfont2 icon-new1" data-icon="icon-new1"></i>
					<i class="iconfont2 icon-huanfu" data-icon="icon-huanfu"></i>
					<i class="iconfont2 icon-link" data-icon="icon-link"></i>
					<i class="iconfont2 icon-lingsheng" data-icon="icon-lingsheng"></i>
					<i class="iconfont2 icon-star" data-icon="icon-star"></i>
					<i class="iconfont2 icon-prohibit" data-icon="icon-prohibit"></i>
					<i class="iconfont2 icon-caozuo" data-icon="icon-caozuo"></i>
					<i class="iconfont2 icon-weather" data-icon="icon-weather"></i>-->
				</div>
				<div class="panel_word userAll">
					<span>{$num['useradd']}</span>
					<cite>今日新增</cite>
				</div>
			</a>
		</div>
		<div class="panel col">
			<a href="{U('user')}">
				<div class="panel_icon" style="background-color:#009688;">
					<i class="iconfont2 icon-dongtaifensishu" data-icon="icon-dongtaifensishu"></i>
				</div>
				<div class="panel_word userAll">
					<span>{$num['userall']}</span>
					<cite>用户总数</cite>
				</div>
			</a>
		</div>
		<div class="panel col">
			<a href="{U('user/order')}&dt1={date('Y-m-d')}">
				<div class="panel_icon">
					<i class="iconfont2 icon-menu1" data-icon="icon-menu1"></i>
				</div>
				<div class="panel_word newMessage">
					<span>{$num['orderadd']}</span>
					<cite>今日下注</cite>
				</div>
			</a>
		</div>
		<div class="panel col">
			<a href="{U('user/recharge')}&dt1={date('Y-m-d')}">
				<div class="panel_icon" style="background-color:#5FB878;">
					<i class="iconfont2 icon-edit" data-icon="icon-edit"></i>
				</div>
				<div class="panel_word imgAll">
					<span>{$num['rechargeadd']}</span>
					<cite>今日充值</cite>
				</div>
			</a>
		</div>
		<div class="panel col">
			<a href="{U('user/cash')}&dt1={date('Y-m-d')}">
				<div class="panel_icon" style="background-color:#F7B824;">
					<i class="iconfont2 icon-caozuo" data-icon="icon-caozuo"></i>
				</div>
				<div class="panel_word waitNews">
					<span>{$num['cashadd']}</span>
					<cite>今日提现</cite>
				</div>
			</a>
		</div>
		<div class="panel col max_panel">
			<a href="{U('user/rebate')}">
				<div class="panel_icon" style="background-color:#2F4056;">
					<i class="iconfont2 icon-text" data-icon="icon-text"></i>
				</div>
				<div class="panel_word allNews">
					<span>{$num['rebateall']}</span>
					<em>总返点</em>
				</div>
			</a>
		</div>
	</div>
	
	<div class="row">
		<div class="sysNotice col">
			<blockquote class="layui-elem-quote title">系统基本参数</blockquote>
			<table class="layui-table">
				<colgroup>
					<col width="150">
					<col>
				</colgroup>
				<tbody>
					<tr>
						<td>本次登录</td>
						<td class="version">{$login[0]['ip']} {date('Y-m-d H:i:s',$login[0]['dateline'])}</td>
					</tr>
					<tr>
						<td>上次登录</td>
						<td class="version">{$login[1]['ip']} {date('Y-m-d H:i:s',$login[1]['dateline'])}</td>
					</tr>
					<!--<tr>
						<td>服务器环境</td>
						<td class="server">windows</td>
					</tr>
					<tr>
						<td>数据库版本</td>
						<td class="dataBase">8.00.2039</td>
					</tr>
					<tr>
						<td>最大上传限制</td>
						<td class="maxUpload">2M</td>
					</tr>
					<tr>
						<td>当前用户权限</td>
						<td class="userRights">总管理员</td>
					</tr>-->
				</tbody>
			</table>
		</div>
		
		<div class="sysNotice col">
			<blockquote class="layui-elem-quote title"><a href="{U('/notice')}">系统公告</a><!--<i class="iconfont2 icon-new1"></i>--></blockquote>
			<table class="layui-table" lay-skin="line">
				<colgroup>
					<col><col width="110">
				</colgroup>
				<tbody class="hot_news">
					{loop $notice as $val}
					<tr>
						<td align="left"><a href="{U('/notice/view',['id'=>$val['id']])}" class="a-dialog">{$val['title']}</a></td>
						<td>{date('Y-m-d',$val['dateline'])}</td>
					</tr>
					{/loop}
				</tbody>
			</table> 
		</div>
	</div>
</div>

{template index/footer}